from django.conf.urls import url
from rest_framework_jwt.views import obtain_jwt_token

# from apps.person.views import PersonView
from apps.register import views
from apps.register.views import SmsView

urlpatterns = [
    # 登录
    url(r'^authorizations/$',obtain_jwt_token),
    # 短信验证
    url(r'^sms_codes/(?P<mobile>1[3-9]\d{9})/$',views.SmsView.as_view()),
    # 注册
    url(r'^users/$',views.RegisterView.as_view()),
]

